BASE_URL = "http://127.0.0.1:7000"
default_jwt = "Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJuZXVyb24iLCJib2R5RW5jb2RlIjowLCJleHAiOjE3ODExNTc4MzcsImlhdCI6MTcxODA4NTgzOCwiaXNzIjoibmV1cm9uIn0.OmMIxGiaJYcuetslmliVGAWtjIZxNgvOCsZGdljHUSnFBOpTV1BqFSBqR55tZx51z09RPEdm8tIeGZN-jUUQgXgS22K7LUqhAYXgGY8bhh37pN6GXPzaHCdjan3VzS_5ywuiGHgNIjr5RrHNTCjLGb_dYlUGL-Hv0z0cOC6ObbqS0snlEOJsxNcjOaRMqbpwtxuTKc4_QA0yWtYTyGXjhXVA2ZAg1HsF9M_9XJ2qk-_6qEadAR2MzjphJvsk-um1oHOGtJhGGxlRNONL6yxFav2BTHs2dSz2P1YanVsUtFF0HO44HYPU4vs511RuOvcHyTM1TV3BudKgDpCeWKpq1Q"

NEU_NODE_DRIVER = 1
NEU_NODE_APP = 2

NEU_CTL_START = 0
NEU_CTL_STOP = 1

NEU_NODE_STATE_INIT = 1
NEU_NODE_STATE_READY = 2
NEU_NODE_STATE_RUNNING = 3
NEU_NODE_STATE_STOPPED = 4

NEU_NODE_LINK_STATE_DISCONNECTED = 0
NEU_NODE_LINK_STATE_CONNECTED = 1

NEU_TAG_ATTRIBUTE_READ = 1
NEU_TAG_ATTRIBUTE_WRITE = 2
NEU_TAG_ATTRIBUTE_SUBSCRIBE = 4
NEU_TAG_ATTRIBUTE_RW = NEU_TAG_ATTRIBUTE_READ | NEU_TAG_ATTRIBUTE_WRITE
NEU_TAG_ATTRIBUTE_RW_SUBSCRIBE = NEU_TAG_ATTRIBUTE_RW | NEU_TAG_ATTRIBUTE_SUBSCRIBE
NEU_TAG_ATTRIBUTE_READ_SUBSCRIBE = NEU_TAG_ATTRIBUTE_READ | NEU_TAG_ATTRIBUTE_SUBSCRIBE

NEU_TYPE_INT8 = 1
NEU_TYPE_UINT8 = 2
NEU_TYPE_INT16 = 3
NEU_TYPE_UINT16 = 4
NEU_TYPE_INT32 = 5
NEU_TYPE_UINT32 = 6
NEU_TYPE_INT64 = 7
NEU_TYPE_UINT64 = 8
NEU_TYPE_FLOAT = 9
NEU_TYPE_DOUBLE = 10
NEU_TYPE_BIT = 11
NEU_TYPE_BOOL = 12
NEU_TYPE_STRING = 13
NEU_TYPE_BYTES = 14
NEU_TYPE_ERROR = 15
NEU_TYPE_WORD = 16
NEU_TYPE_DWORD = 17
NEU_TYPE_LWORD = 18
NEU_TYPE_PTR = 19
NEU_TYPE_TIME = 20
NEU_TYPE_DATA_AND_TIME = 21
NEU_TYPE_ARRAY_CHAR    = 22
NEU_TYPE_ARRAY_INT8    = 23
NEU_TYPE_ARRAY_UINT8   = 24
NEU_TYPE_ARRAY_INT16   = 25
NEU_TYPE_ARRAY_UINT16  = 26
NEU_TYPE_ARRAY_INT32   = 27
NEU_TYPE_ARRAY_UINT32  = 28
NEU_TYPE_ARRAY_INT64   = 29
NEU_TYPE_ARRAY_UINT64  = 30
NEU_TYPE_ARRAY_FLOAT   = 31
NEU_TYPE_ARRAY_DOUBLE  = 32
NEU_TYPE_ARRAY_BOOL    = 33
NEU_TYPE_ARRAY_STRING    = 34
NEU_TYPE_CUSTOM        = 40

NEU_BAUD_115200 = 0
NEU_BAUD_57600 = 1
NEU_BAUD_38400 = 2
NEU_BAUD_19200 = 3
NEU_BAUD_9600 = 4
NEU_BAUD_4800 = 5
NEU_BAUD_2400 = 6
NEU_BAUD_1800 = 7
NEU_BAUD_1200 = 8
NEU_BAUD_600 = 9

NEU_PARITY_NONE = 0
NEU_PARITY_ODD = 1
NEU_PARITY_EVEN = 2
NEU_PARITY_MARK = 3
NEU_PARITY_SPACE = 4

NEU_STOP_1 = 0
NEU_STOP_2 = 1

NEU_DATA_5 = 0
NEU_DATA_6 = 1
NEU_DATA_7 = 2
NEU_DATA_8 = 3

ENDIAN_ABCD = 1,
ENDIAN_BADC = 2,
ENDIAN_DCBA = 3,
ENDIAN_CDAB = 4,

PLUGIN_MODBUS_TCP = "Modbus TCP"
PLUGIN_MODBUS_RTU = "Modbus RTU"
PLUGIN_MQTT = "MQTT"
